(self.AMP=self.AMP||[]).push({n:"amp-ad",v:"2102130314001",m:0,f:(function(AMP,_){ 'use strict';var q,aa="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b};function ba(a){for(var b=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global],c=0;cb)return{validationError:"Tags data-matched-content-ui-type, data-matched-content-columns-num and data-matched-content-rows-num should be set together."};var c=a.layoutType.split(","),d=a.numberOfRows.split(","),e=a.numberOfColumns.split(",");if(c.length!==d.length||c.length!==e.length)return{validationError:'Lengths of parameters data-matched-content-ui-type, data-matched-content-columns-num and data-matched-content-rows-num must match. Example: \n data-matched-content-rows-num="4,2"\ndata-matched-content-columns-num="1,6"\ndata-matched-content-ui-type="image_stacked,image_card_sidebyside"'}; if(2=d&&(b[c]=Math.random()=d} function db(a){if(void 0===a.__AMP__AD_CONTAINER){for(var b=a.parentElement;b&&"BODY"!=b.tagName;){if(bb[b.tagName])return a.__AMP__AD_CONTAINER=b.tagName;b=b.parentElement}a.__AMP__AD_CONTAINER=null}return a.__AMP__AD_CONTAINER};var R;function eb(a,b){var c=a,d=b;var e=function(g){try{return d(g)}catch(k){throw self.__AMP_REPORT_ERROR(k),k;}};var f=fb();c.addEventListener("click",e,f?void 0:!1);return function(){c&&c.removeEventListener("click",e,f?void 0:!1);e=c=d=null}}function fb(){if(void 0!==R)return R;R=!1;try{var a={get capture(){R=!0}};self.addEventListener("test-options",null,a);self.removeEventListener("test-options",null,a)}catch(b){}return R};function gb(a,b){return eb(a,b)};function hb(a){this.h=a;this.j=a.element;this.P=a.win.document;this.S=this.W=null;this.j.hasAttribute("sticky")&&(this.S=this.j.getAttribute("sticky")||"bottom-right",this.j.setAttribute("sticky",this.S));this.ea=!1;this.l=[];if(this.j.hasAttribute("data-ad-container-id")){var b=this.j.getAttribute("data-ad-container-id");(b=this.P.getElementById(b))&&"AMP-LAYOUT"==b.tagName&&b.contains(this.j)&&(this.W=b)}a.getFallback()||("AMP-EMBED"==this.j.tagName?a=null:(a=this.P.createElement("div"),a.setAttribute("fallback", ""),b=this.P.createElement("div"),b.classList.add("i-amphtml-ad-default-holder"),b.setAttribute("data-ad-holder-text","Ad"),a.appendChild(b)),a&&this.h.element.appendChild(a))}q=hb.prototype; q.applyNoContentUI=function(){var a=this;if("AMP-STICKY-AD"===db(this.j))this.h.collapse();else if("AMP-FX-FLYING-CARPET"===db(this.j))Wa(this.j)[0].getImpl().then(function(c){var d=c.getChildren();1===d.length&&d[0]===a.j&&a.h.collapse()});else{if(this.W){var b=J(this.j.getAmpDoc(),"mutator").attemptCollapse(this.W);b.then(function(){})}else b=this.h.attemptCollapse();b.catch(function(){a.h.mutateElement(function(){a.h.togglePlaceholder(!1);a.h.toggleFallback(!0)})})}}; q.applyUnlayoutUI=function(){var a=this;this.h.mutateElement(function(){a.h.toggleFallback(!1)})};q.isStickyAd=function(){return null!==this.S};q.maybeInitStickyAd=function(){if(this.isStickyAd()&&(Q(this.j,"visibility","visible"),"bottom"==this.S)){var a=this.P.createElement("amp-ad-sticky-padding");this.j.insertBefore(a,this.j.firstChild)}}; q.getScrollPromiseForStickyAd=function(){var a=this;return this.isStickyAd()?new Promise(function(b){var c=J(a.j.getAmpDoc(),"viewport").onScroll(function(){b();c()})}):Promise.resolve(null)};q.onResizeSuccess=function(){this.isStickyAd()&&!this.ea&&(ib(this),this.ea=!0)}; function ib(a){var b=Sa(a.j.ownerDocument,O({"aria-label":a.j.getAttribute("data-close-button-aria-label")||"Close this ad"}));a.l.push(gb(b,function(){H(a.h.win,"vsync").mutate(function(){var c=J(a.j.getAmpDoc(),"viewport");c.removeFromFixedLayer(a.element);var d=a.j;d.parentElement&&d.parentElement.removeChild(d);c.updatePaddingBottom(0)})}));b.classList.add("amp-ad-close-button");a.j.appendChild(b)} q.updateSize=function(a,b,c,d,e){var f=this,g,k;a=parseInt(a,10);isNaN(a)||(g=Math.max(this.j.offsetHeight+a-c,a));b=parseInt(b,10);isNaN(b)||(k=Math.max(this.j.offsetWidth+b-d,b));var h={success:!0,newWidth:k,newHeight:g};if(!g&&!k)return Promise.reject(Error("undefined width and height"));if("AMP-STICKY-AD"==db(this.j))return h.success=!1,Promise.resolve(h);if(this.isStickyAd()){var l=this.h.getViewport();if(a*b>.2*l.getHeight()*l.getWidth()||g>.5*l.getHeight())return h.success=!1,Promise.resolve(h)}return this.h.attemptChangeSize(g, k,e).then(function(){Qa(f.h.win);if("31060072"===Pa(f.h.win,"sticky-ad-transition")){var n=f.j.querySelector("iframe"),m={height:a+"px",width:b+"px"},p;for(p in m)Q(n,p,m[p])}return h},function(){h.success=!1;return h})};q.cleanup=function(){this.l.forEach(function(a){return a()});this.l.length=0};AMP.AmpAdUIHandler=hb;function jb(a,b){try{return JSON.parse(a)}catch(c){return b&&b(c),null}};function kb(a){if(!lb(a))return null;var b=a.indexOf("{");try{return JSON.parse(a.substr(b))}catch(c){return D().error("MESSAGING","Failed to parse message: "+a,c),null}}function lb(a){return"string"==typeof a&&0==a.indexOf("amp-")&&-1!=a.indexOf("{")};function mb(a,b){for(var c=[],d=0,e=0;e"),a=a.lastChild;a;a=a.previousSibling)d.push(a)}function Pb(a){var b=a.tagName.toLowerCase();return b.startsWith("amp-")?!(!Mb.includes(b)||!a.textContent):!(Lb.includes(b)||!a.textContent)} function Qb(a,b,c){c.push("<"+a.tagName.toLowerCase());b.forEach(function(d){a.hasAttribute(d)&&c.push(" "+d+'="'+a.getAttribute(d)+'"')});c.push(">")};function Rb(a,b){var c=b=void 0===b?"default":b;return Za(a).then(function(d){return d?d.whenPolicyResolved(c):null})}function Sb(a,b){return Za(a).then(function(c){return c?c.getMergedSharedData(b):null})}function Tb(a,b){var c=void 0===b?"default":b;return Za(a).then(function(d){return d?d.getConsentStringInfo(c):null})}function Ub(a,b){var c=void 0===b?"default":b;return Za(a).then(function(d){return d?d.getConsentMetadataInfo(c):null})};var W=JSON.parse('{"_ping_":{"renderStartImplemented":true,"clientIdScope":"_PING_","consentHandlingOverride":true},"1wo":{},"24smi":{"prefetch":"https://jsn.24smi.net/smi.js","preconnect":"https://data.24smi.net"},"a8":{"prefetch":"https://statics.a8.net/amp/ad.js","renderStartImplemented":true},"a9":{"prefetch":"https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"},"accesstrade":{"prefetch":"https://h.accesstrade.net/js/amp/amp.js"},"adagio":{"prefetch":"https://js-ssl.neodatagroup.com/adagio_amp.js","preconnect":["https://ad-aws-it.neodatagroup.com","https://tracker.neodatagroup.com"],"renderStartImplemented":true},"adblade":{"prefetch":"https://web.adblade.com/js/ads/async/show.js","preconnect":["https://staticd.cdn.adblade.com","https://static.adblade.com"],"renderStartImplemented":true},"adbutler":{"prefetch":"https://servedbyadbutler.com/app.js"},"adform":{},"adfox":{"prefetch":"https://yastatic.net/pcode/adfox/loader.js","renderStartImplemented":true},"adgeneration":{"prefetch":"https://i.socdm.com/sdk/js/adg-script-loader.js"},"adglare":{"renderStartImplemented":true},"adhese":{"renderStartImplemented":true},"adincube":{"renderStartImplemented":true},"adition":{},"adman":{},"admanmedia":{"renderStartImplemented":true},"admixer":{"renderStartImplemented":true,"preconnect":["https://inv-nets.admixer.net","https://cdn.admixer.net"]},"adnuntius":{"prefetch":"https://cdn.adnuntius.com/adn.js","renderStartImplemented":true},"adocean":{"consentHandlingOverride":true},"adop":{},"adpicker":{"renderStartImplemented":true},"adplugg":{"prefetch":"https://www.adplugg.com/serve/js/ad.js","renderStartImplemented":true},"adpon":{"prefetch":"https://ad.adpon.jp/amp.js","clientIdScope":"AMP_ECID_ADPON"},"adreactor":{},"adsensor":{"prefetch":"https://wfpscripts.webspectator.com/amp/adsensor-amp.js","clientIdScope":"amp_ecid_adensor","renderStartImplemented":true},"adservsolutions":{},"adsloom":{"clientIdScope":"AMP_ECID_ADSLOOM"},"adsnative":{"prefetch":"https://static.adsnative.com/static/js/render.v1.js","preconnect":"https://api.adsnative.com"},"adspeed":{"preconnect":"https://g.adspeed.net","renderStartImplemented":true},"adspirit":{},"adstir":{"prefetch":"https://js.ad-stir.com/js/adstir_async.js","preconnect":"https://ad.ad-stir.com"},"adstyle":{"prefetch":"https://widgets.ad.style/amp.js","preconnect":["https://w.ad.style"]},"adtech":{"prefetch":"https://s.aolcdn.com/os/ads/adsWrapper3.js","preconnect":["https://mads.at.atwola.com","https://aka-cdn.adtechus.com"]},"adtelligent":{"preconnect":["https://s.adtelligent.com"],"renderStartImplemented":true},"adthrive":{"prefetch":["https://www.googletagservices.com/tag/js/gpt.js"],"preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"adunity":{"preconnect":["https://content.adunity.com"],"renderStartImplemented":true},"aduptech":{"prefetch":"https://s.d.adup-tech.com/jsapi","preconnect":["https://d.adup-tech.com","https://m.adup-tech.com","https://v.adup-tech.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"adventive":{"preconnect":["https://ads.adventive.com","https://amp.adventivedev.com"],"renderStartImplemented":true},"adverline":{"prefetch":"https://ads.adverline.com/richmedias/amp.js","preconnect":["https://adnext.fr"],"renderStartImplemented":true},"adverticum":{},"advertserve":{"renderStartImplemented":true},"adyoulike":{"consentHandlingOverride":true,"prefetch":"https://fo-static.omnitagjs.com/amp.js","renderStartImplemented":true},"adzerk":{},"affiliateb":{"prefetch":"https://track.affiliate-b.com/amp/a.js","renderStartImplemented":true},"aja":{"prefetch":["https://cdn.as.amanad.adtdp.com/sdk/asot-amp.js","https://cdn.as.amanad.adtdp.com/sdk/asot-v2.js"],"preconnect":["https://ad.as.amanad.adtdp.com"]},"appvador":{"prefetch":["https://cdn.apvdr.com/js/VastAdUnit.min.js","https://cdn.apvdr.com/js/VideoAd.min.js","https://cdn.apvdr.com/js/VideoAd3PAS.min.js","https://cdn.apvdr.com/js/VideoAdAutoPlay.min.js","https://cdn.apvdr.com/js/VideoAdNative.min.js"],"renderStartImplemented":true},"amoad":{"prefetch":["https://j.amoad.com/js/a.js","https://j.amoad.com/js/n.js"],"preconnect":["https://d.amoad.com","https://i.amoad.com","https://m.amoad.com","https://v.amoad.com"]},"aniview":{"renderStartImplemented":true},"anyclip":{"prefetch":"https://player.anyclip.com/anyclip-widget/lre-widget/prod/v1/src/lre.js","preconnect":["https://trafficmanager.anyclip.com","https://lreprx-server.anyclip.com"],"renderStartImplemented":true},"appnexus":{"prefetch":"https://acdn.adnxs.com/ast/ast.js","preconnect":"https://ib.adnxs.com","renderStartImplemented":true},"atomx":{"prefetch":"https://s.ato.mx/p.js"},"beaverads":{"renderStartImplemented":true},"beopinion":{"prefetch":"https://widget.beop.io/sdk.js","preconnect":["https://t.beop.io","https://s.beop.io","https://data.beop.io"],"renderStartImplemented":true},"bidtellect":{},"blade":{"prefetch":"https://sdk.streamrail.com/blade/sr.blade.js","renderStartImplemented":true},"brainy":{},"bringhub":{"renderStartImplemented":true,"preconnect":["https://static.bh-cdn.com","https://core-api.bringhub.io"]},"broadstreetads":{"prefetch":"https://cdn.broadstreetads.com/init-2.min.js","renderStartImplemented":true},"byplay":{},"caajainfeed":{"prefetch":["https://cdn.amanad.adtdp.com/sdk/ajaamp.js"],"preconnect":["https://ad.amanad.adtdp.com"]},"capirs":{"renderStartImplemented":true},"caprofitx":{"prefetch":["https://cdn.caprofitx.com/pfx.min.js","https://cdn.caprofitx.com/tags/amp/profitx_amp.js"],"preconnect":"https://ad.caprofitx.adtdp.com"},"cedato":{"renderStartImplemented":true},"chargeads":{},"colombia":{"prefetch":"https://static.clmbtech.com/ad/commons/js/colombia-amp.js"},"conative":{"renderStartImplemented":true},"connatix":{"renderStartImplemented":true},"contentad":{},"criteo":{"prefetch":"https://static.criteo.net/js/ld/publishertag.js","preconnect":"https://cas.criteo.com"},"csa":{"prefetch":"https://www.google.com/adsense/search/ads.js"},"dable":{"preconnect":["https://static.dable.io","https://api.dable.io","https://images.dable.io"],"renderStartImplemented":true},"directadvert":{"renderStartImplemented":true},"distroscale":{"preconnect":["https://c.jsrdn.com","https://s.jsrdn.com","https://i.jsrdn.com"],"renderStartImplemented":true},"dotandads":{"prefetch":"https://amp.ad.dotandad.com/dotandadsAmp.js","preconnect":"https://bal.ad.dotandad.com"},"dynad":{"preconnect":["https://t.dynad.net","https://tm.jsuol.com.br"]},"eadv":{"renderStartImplemented":true,"clientIdScope":"AMP_ECID_EADV","prefetch":["https://www.eadv.it/track/esr.min.js","https://www.eadv.it/track/ead.min.js"]},"empower":{"prefetch":"https://cdn.empower.net/sdk/amp-ad.min.js","renderStartImplemented":true},"engageya":{},"epeex":{},"eplanning":{"prefetch":"https://us.img.e-planning.net/layers/epl-amp.js"},"ezoic":{"prefetch":["https://www.googletagservices.com/tag/js/gpt.js","https://g.ezoic.net/ezoic/ampad.js"],"clientIdScope":"AMP_ECID_EZOIC","consentHandlingOverride":true},"f1e":{"prefetch":"https://img.ak.impact-ad.jp/util/f1e_amp.min.js"},"f1h":{"preconnect":"https://img.ak.impact-ad.jp","renderStartImplemented":true},"fake":{},"fake-delayed":{"renderStartImplemented":true},"feedad":{"clientIdScope":"__fa_amp","prefetch":"https://web.feedad.com/sdk/feedad-async.js","renderStartImplemented":true,"fullWidthHeightRatio":1.7777777777777777,"consentHandlingOverride":true},"felmat":{"prefetch":"https://t.felmat.net/js/fmamp.js","renderStartImplemented":true},"firstimpression":{"prefetch":"https://ecdn.firstimpression.io/static/js/fiamp.js","preconnect":"https://cdn.firstimpression.io","renderStartImplemented":true,"consentHandlingOverride":true},"flite":{},"fluct":{"preconnect":["https://cdn-fluct.sh.adingo.jp","https://s.sh.adingo.jp","https://i.adingo.jp"]},"forkmedia":{"renderStartImplemented":true},"freewheel":{"prefetch":"https://cdn.stickyadstv.com/prime-time/fw-amp.min.js","renderStartImplemented":true},"fusion":{"prefetch":"https://assets.adtomafusion.net/fusion/latest/fusion-amp.min.js"},"genieessp":{"prefetch":"https://js.gsspcln.jp/l/amp.js"},"giraff":{"renderStartImplemented":true},"glomex":{"prefetch":"https://player.glomex.com/integration/1/amp-embed.js"},"gmossp":{"prefetch":"https://cdn.gmossp-sp.jp/ads/amp.js"},"gumgum":{"prefetch":"https://js.gumgum.com/slot.js","renderStartImplemented":true},"holder":{"prefetch":"https://i.holder.com.ua/js2/holder/ajax/ampv1.js","preconnect":"https://h.holder.com.ua","renderStartImplemented":true},"ibillboard":{},"idealmedia":{"renderStartImplemented":true,"preconnect":["https://jsc.idealmedia.io","https://servicer.idealmedia.io","https://s-img.idealmedia.io/"]},"imedia":{"prefetch":"https://i.imedia.cz/js/im3.js","renderStartImplemented":true},"imobile":{"prefetch":"https://spamp.i-mobile.co.jp/script/amp.js","preconnect":"https://spad.i-mobile.co.jp"},"imonomy":{"renderStartImplemented":true},"improvedigital":{},"industrybrains":{"prefetch":"https://web.industrybrains.com/js/ads/async/show.js","preconnect":["https://staticd.cdn.industrybrains.com","https://static.industrybrains.com"],"renderStartImplemented":true},"inmobi":{"prefetch":"https://cf.cdn.inmobi.com/ad/inmobi.secure.js","renderStartImplemented":true},"innity":{"prefetch":"https://cdn.innity.net/admanager.js","preconnect":"https://as.innity.com","renderStartImplemented":true},"insticator":{"preconnect":"https://d3lcz8vpax4lo2.cloudfront.net","renderStartImplemented":true},"invibes":{"prefetch":"https://k.r66net.com/GetAmpLink","renderStartImplemented":true,"consentHandlingOverride":true},"iprom":{"prefetch":"https://cdn.ipromcloud.com/ipromNS.js"},"ix":{"prefetch":["https://js-sec.indexww.com/apl/amp.js"],"preconnect":"https://as-sec.casalemedia.com","renderStartImplemented":true},"jubna":{},"kargo":{},"kiosked":{"renderStartImplemented":true},"kixer":{"prefetch":"https://cdn.kixer.com/ad/load.js","renderStartImplemented":true},"kuadio":{},"lentainform":{"renderStartImplemented":true,"preconnect":["https://jsc.lentainform.com","https://servicer.lentainform.com","https://s-img.lentainform.com"]},"ligatus":{"prefetch":"https://ssl.ligatus.com/render/ligrend.js","renderStartImplemented":true},"lockerdome":{"prefetch":"https://cdn2.lockerdomecdn.com/_js/amp.js","renderStartImplemented":true},"logly":{"preconnect":["https://l.logly.co.jp","https://cdn.logly.co.jp"],"renderStartImplemented":true},"loka":{"prefetch":"https://loka-cdn.akamaized.net/scene/amp.js","preconnect":["https://scene-front.lokaplatform.com","https://loka-materials.akamaized.net"],"renderStartImplemented":true},"luckyads":{"renderStartImplemented":true},"macaw":{"renderStartImplemented":true},"mads":{"prefetch":"https://eu2.madsone.com/js/tags.js"},"mantis-display":{"prefetch":"https://assets.mantisadnetwork.com/mantodea.min.js","preconnect":["https://mantodea.mantisadnetwork.com","https://res.cloudinary.com","https://resize.mantisadnetwork.com"]},"marfeel":{"prefetch":"https://www.googletagservices.com/tag/js/gpt.js","preconnect":"https://live.mrf.io","consentHandlingOverride":true},"mantis-recommend":{"prefetch":"https://assets.mantisadnetwork.com/recommend.min.js","preconnect":["https://mantodea.mantisadnetwork.com","https://resize.mantisadnetwork.com"]},"mediaad":{},"medianet":{"preconnect":"https://contextual.media.net","renderStartImplemented":true},"mediavine":{"prefetch":"https://amp.mediavine.com/wrapper.min.js","preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true,"consentHandlingOverride":true},"medyanet":{"renderStartImplemented":true},"meg":{"renderStartImplemented":true},"mgid":{"renderStartImplemented":true,"preconnect":["https://jsc.mgid.com","https://servicer.mgid.com","https://s-img.mgid.com"]},"microad":{"prefetch":"https://j.microad.net/js/camp.js","preconnect":["https://s-rtb.send.microad.jp","https://s-rtb.send.microadinc.com","https://cache.send.microad.jp","https://cache.send.microadinc.com","https://deb.send.microad.jp"]},"miximedia":{"renderStartImplemented":true},"mixpo":{"prefetch":"https://cdn.mixpo.com/js/loader.js","preconnect":["https://player1.mixpo.com","https://player2.mixpo.com"]},"monetizer101":{"renderStartImplemented":true},"mox":{"prefetch":["https://ad.mox.tv/js/amp.min.js","https://ad.mox.tv/mox/mwayss_invocation.min.js"],"renderStartImplemented":true},"my6sense":{"renderStartImplemented":true},"myfinance":{"preconnect":["https://a.myfidevs.io","https://static.myfinance.com","https://www.myfinance.com"],"renderStartImplemented":true},"myoffrz":{"renderStartImplemented":true},"mytarget":{"prefetch":"https://ad.mail.ru/static/ads-async.js","renderStartImplemented":true},"mywidget":{"preconnect":"https://likemore-fe.go.mail.ru","prefetch":"https://likemore-go.imgsmail.ru/widget_amp.js","renderStartImplemented":true},"nativeroll":{"prefetch":"https://cdn01.nativeroll.tv/js/seedr-player.min.js"},"nativery":{"preconnect":"https://cdn.nativery.com"},"nativo":{"prefetch":"https://s.ntv.io/serve/load.js"},"navegg":{"renderStartImplemented":true},"nend":{"prefetch":"https://js1.nend.net/js/amp.js","preconnect":["https://output.nend.net","https://img1.nend.net"]},"netletix":{"preconnect":["https://call.netzathleten-media.de"],"renderStartImplemented":true},"noddus":{"prefetch":"https://noddus.com/amp_loader.js","renderStartImplemented":true},"nokta":{"prefetch":"https://static.virgul.com/theme/mockups/noktaamp/ampjs.js","renderStartImplemented":true},"nws":{},"oblivki":{"renderStartImplemented":true},"onead":{"prefetch":"https://ad-specs.guoshipartners.com/static/js/onead-amp.min.js","renderStartImplemented":true},"onnetwork":{"renderStartImplemented":true},"openadstream":{},"openx":{"prefetch":"https://www.googletagservices.com/tag/js/gpt.js","preconnect":["https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"opinary":{},"outbrain":{"renderStartImplemented":true,"prefetch":"https://widgets.outbrain.com/widgetAMP/outbrainAMP.min.js","preconnect":["https://odb.outbrain.com"],"consentHandlingOverride":true},"pixels":{"prefetch":"https://cdn.adsfactor.net/amp/pixels-amp.min.js","clientIdCookieName":"__AF","renderStartImplemented":true},"playstream":{"prefetch":"https://app.playstream.media/js/amp.js","renderStartImplemented":true},"plista":{},"polymorphicads":{"prefetch":"https://www.polymorphicads.jp/js/amp.js","preconnect":["https://img.polymorphicads.jp","https://ad.polymorphicads.jp"],"renderStartImplemented":true},"popin":{"renderStartImplemented":true},"postquare":{},"ppstudio":{"renderStartImplemented":true},"pressboard":{"renderStartImplemented":true},"promoteiq":{},"pubexchange":{},"pubguru":{"renderStartImplemented":true},"pubmatic":{"prefetch":"https://ads.pubmatic.com/AdServer/js/amp.js"},"pubmine":{"prefetch":["https://s.pubmine.com/head.js"],"preconnect":"https://delivery.g.switchadhub.com","renderStartImplemented":true},"puffnetwork":{"prefetch":"https://static.puffnetwork.com/amp_ad.js","renderStartImplemented":true},"pulse":{"prefetch":"https://static.pulse.mail.ru/pulse-widget-amp.js","renderStartImplemented":true},"pulsepoint":{"prefetch":"https://ads.contextweb.com/TagPublish/getjs.static.js","preconnect":"https://tag.contextweb.com"},"purch":{"prefetch":"https://ramp.purch.com/serve/creative_amp.js","renderStartImplemented":true},"quoraad":{"prefetch":"https://a.quora.com/amp_ad.js","preconnect":"https://ampad.quora.com","renderStartImplemented":true},"rakutenunifiedads":{"prefetch":"https://s-cdn.rmp.rakuten.co.jp/js/amp.js","renderStartImplemented":true},"rbinfox":{"renderStartImplemented":true},"readmo":{"renderStartImplemented":true},"realclick":{"renderStartImplemented":true},"recomad":{"renderStartImplemented":true},"recreativ":{"prefetch":"https://go.rcvlink.com/static/amp.js","renderStartImplemented":true},"relap":{"renderStartImplemented":true},"relappro":{"prefetch":"https://cdn.relappro.com/adservices/amp/relappro.amp.min.js","preconnect":"https://tags.relappro.com","renderStartImplemented":true},"remixd":{"preconnect":"https://tags.remixd.com","renderStartImplemented":true},"revcontent":{"prefetch":"https://labs-cdn.revcontent.com/build/amphtml/revcontent.amp.min.js","preconnect":["https://trends.revcontent.com","https://cdn.revcontent.com","https://img.revcontent.com"],"renderStartImplemented":true},"revjet":{"prefetch":"https://cdn.revjet.com/~cdn/JS/03/amp.js","renderStartImplemented":true},"rfp":{"prefetch":"https://js.rfp.fout.jp/rfp-amp.js","preconnect":"https://ad.rfp.fout.jp","renderStartImplemented":true},"rnetplus":{},"rubicon":{},"runative":{"prefetch":"https://cdn.run-syndicate.com/sdk/v1/n.js","renderStartImplemented":true},"sas":{"renderStartImplemented":true},"seedingalliance":{},"sekindo":{"renderStartImplemented":true},"sharethrough":{"renderStartImplemented":true},"shemedia":{"prefetch":["https://securepubads.g.doubleclick.net/tag/js/gpt.js","https://ads.shemedia.com/static/amp.js"],"preconnect":["https://partner.googleadservices.com","https://tpc.googlesyndication.com","https://ads.blogherads.com"],"renderStartImplemented":true},"sklik":{"prefetch":"https://c.imedia.cz/js/amp.js"},"slimcutmedia":{"preconnect":["https://sb.freeskreen.com","https://static.freeskreen.com","https://video.freeskreen.com"],"renderStartImplemented":true},"smartads":{"prefetch":"https://smart-ads.biz/amp.js"},"smartadserver":{"prefetch":"https://ec-ns.sascdn.com/diff/js/amp.v0.js","preconnect":"https://static.sascdn.com","renderStartImplemented":true},"smartclip":{"prefetch":"https://cdn.smartclip.net/amp/amp.v0.js","preconnect":"https://des.smartclip.net","renderStartImplemented":true},"smi2":{"renderStartImplemented":true},"smilewanted":{"prefetch":"https://prebid.smilewanted.com/amp/amp.js","preconnect":"https://static.smilewanted.com","renderStartImplemented":true},"sogouad":{"prefetch":"https://theta.sogoucdn.com/wap/js/aw.js","renderStartImplemented":true},"sortable":{"prefetch":"https://www.googletagservices.com/tag/js/gpt.js","preconnect":["https://tags-cdn.deployads.com","https://partner.googleadservices.com","https://securepubads.g.doubleclick.net","https://tpc.googlesyndication.com"],"renderStartImplemented":true},"sona":{"renderStartImplemented":true},"sovrn":{"prefetch":"https://ap.lijit.com/www/sovrn_amp/sovrn_ads.js"},"speakol":{"renderStartImplemented":true},"spotx":{"preconnect":"https://js.spotx.tv","renderStartImplemented":true},"springAds":{"preconnect":["https://ib.adnxs.com"],"renderStartImplemented":true},"ssp":{"prefetch":"https://ssp.imedia.cz/static/js/ssp.js","renderStartImplemented":true,"consentHandlingOverride":true},"strossle":{"preconnect":["https://amp.spklw.com","https://widgets.sprinklecontent.com","https://images.sprinklecontent.com"]},"sunmedia":{"prefetch":"https://vod.addevweb.com/sunmedia/amp/ads/sunmedia.js","preconnect":"https://static.addevweb.com","renderStartImplemented":true},"svknative":{"renderStartImplemented":true,"prefetch":"https://widget.svk-native.ru/js/embed.js"},"swoop":{"prefetch":"https://www.swoop-amp.com/amp.js","preconnect":["https://www.swpsvc.com","https://client.swpcld.com"],"renderStartImplemented":true},"taboola":{},"tcsemotion":{"prefetch":"https://ads.tcsemotion.com/www/delivery/amphb.js","renderStartImplemented":true},"teads":{"prefetch":"https://s8t.teads.tv/media/format/v3/teads-format.min.js","preconnect":["https://cdn2.teads.tv","https://a.teads.tv","https://t.teads.tv","https://r.teads.tv"],"consentHandlingOverride":true},"temedya":{"prefetch":["https://widget.cdn.vidyome.com/builds/loader-amp.js","https://vidyome-com.cdn.vidyome.com/vidyome/builds/widgets.js"],"renderStartImplemented":true},"torimochi":{"renderStartImplemented":true},"tracdelight":{"prefetch":"https://scripts.tracdelight.io/amp.js","renderStartImplemented":true},"triplelift":{},"trugaze":{"clientIdScope":"__tg_amp","renderStartImplemented":true},"uas":{"prefetch":"https://ads.pubmatic.com/AdServer/js/phoenix.js"},"ucfunnel":{"renderStartImplemented":true},"uzou":{"preconnect":["https://speee-ad.akamaized.net"],"renderStartImplemented":true},"unruly":{"prefetch":"https://video.unrulymedia.com/native/native-loader.js","renderStartImplemented":true},"valuecommerce":{"prefetch":"https://amp.valuecommerce.com/amp_bridge.js","preconnect":["https://ad.jp.ap.valuecommerce.com"],"renderStartImplemented":true},"vdoai":{"prefetch":"https://a.vdo.ai/core/dependencies_amp/vdo.min.js","renderStartImplemented":true},"videointelligence":{"preconnect":"https://s.vi-serve.com","renderStartImplemented":true},"videonow":{"renderStartImplemented":true},"viralize":{"renderStartImplemented":true},"vlyby":{"prefetch":"https://cdn.vlyby.com/amp/qad/qad-outer2.js"},"vmfive":{"prefetch":"https://man.vm5apis.com/dist/adn-web-sdk.js","preconnect":["https://vawpro.vm5apis.com","https://vahfront.vm5apis.com"],"renderStartImplemented":true},"webediads":{"prefetch":"https://eu1.wbdds.com/amp.min.js","preconnect":["https://goutee.top","https://mediaathay.org.uk"],"renderStartImplemented":true},"weborama-display":{"prefetch":["https://cstatic.weborama.fr/js/advertiserv2/adperf_launch_1.0.0_scrambled.js","https://cstatic.weborama.fr/js/advertiserv2/adperf_core_1.0.0_scrambled.js"]},"whopainfeed":{"prefetch":"https://widget.infeed.com.ar/widget/widget-amp.js"},"widespace":{},"wisteria":{"renderStartImplemented":true},"wpmedia":{"prefetch":"https://std.wpcdn.pl/wpjslib/wpjslib-amp.js","preconnect":["https://www.wp.pl","https://v.wpimg.pl"],"renderStartImplemented":true},"xlift":{"prefetch":"https://cdn.x-lift.jp/resources/common/xlift_amp.js","renderStartImplemented":true},"yahoo":{"prefetch":"https://s.yimg.com/aaq/ampad/display.js","preconnect":"https://us.adserver.yahoo.com"},"yahoofedads":{"renderStartImplemented":true},"yahoojp":{"prefetch":["https://s.yimg.jp/images/listing/tool/yads/ydn/amp/amp.js","https://yads.c.yimg.jp/js/yads.js"],"preconnect":"https://yads.yahoo.co.jp"},"yahoonativeads":{"renderStartImplemented":true},"yandex":{"prefetch":"https://an.yandex.ru/system/context_amp.js","renderStartImplemented":true},"yektanet":{"preconnect":["https://cdn.yektanet.com","https://cg-sc.yektanet.com","https://native.yektanet.com","https://nfetch.yektanet.net","https://rfetch.yektanet.net","https://scrapper.yektanet.com","https://ua.yektanet.com","https://bfetch.yektanet.com","https://mostatil.cdn.yektanet.com"],"renderStartImplemented":true},"yengo":{"renderStartImplemented":true},"yieldbot":{"prefetch":["https://cdn.yldbt.com/js/yieldbot.intent.amp.js","https://msg.yldbt.com/js/ybmsg.html"],"preconnect":"https://i.yldbt.com"},"yieldmo":{"prefetch":"https://static.yieldmo.com/ym.1.js","preconnect":["https://s.yieldmo.com","https://ads.yieldmo.com"],"renderStartImplemented":true},"yieldone":{"prefetch":"https://img.ak.impact-ad.jp/ic/pone/commonjs/yone-amp.js"},"yieldpro":{"preconnect":"https://creatives.yieldpro.eu","renderStartImplemented":true},"zedo":{"prefetch":"https://ss3.zedo.com/gecko/tag/Gecko.amp.min.js","renderStartImplemented":true},"zen":{"prefetch":"https://zen.yandex.ru/widget-loader","preconnect":["https://yastatic.net/"],"renderStartImplemented":true},"zergnet":{},"zucks":{"preconnect":["https://j.zucks.net.zimg.jp","https://sh.zucks.net","https://k.zucks.net","https://static.zucks.net.zimg.jp"]},"baidu":{"prefetch":"https://dup.baidustatic.com/js/dm.js","renderStartImplemented":true},"sulvo":{}}');function Vb(a){var b=W[a.element.getAttribute("type")];return b&&b.clientIdScope?Wb(a.getAmpDoc(),b.clientIdScope,b.clientIdCookieName):oa()}function Wb(a,b,c){var d=(isNaN(void 0),1E3),e=Ea(N(a),"cid").then(function(f){if(f)return f.get({scope:b,createCookieIfNotPresent:!0,cookieName:c},Promise.resolve(void 0)).catch(function(g){D().error("AD-CID",g)})});return I(a.win,"timer").timeoutPromise(d,e,"cid timeout").catch(function(f){D().warn("AD-CID",f)})};var Xb=/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org((\/.*)|($))+/;function Yb(a){return a.crypto&&(a.crypto.subtle||a.crypto.webkitSubtle)&&(!!Xb.test(a.location.origin)||!1)};function Zb(a,b){var c=!1;b=void 0===b?{}:b;c=void 0===c?!0:c;var d=b,e=c;Ya(a,"amp-analytics-instrumentation","amp-analytics").then(function(f){f&&f.triggerEventForTarget(a,"user-error",d,e)})};self.__AMP_ERRORS=self.__AMP_ERRORS||[];function $b(a,b){function c(g){f=null;e=a.setTimeout(d,100);b.apply(null,g)}function d(){e=0;f&&c(f)}var e=0,f=null;return function(g){for(var k=[],h=0;h: %s",b);var e=0;for(var f=a;f&&f!=f.parent;f=f.parent)e++;e=String(e)+"-"+oc(a);var g=f={},k=b.dataset,h;for(h in k)h.startsWith("vars")||(g[h]=k[h]);if(h=b.getAttribute("json")){h=jb(h);if(void 0===h)throw C().createError("Error parsing JSON in json attribute in element %s",b);for(var l in h)g[l]=h[l]}l=f;h=Date.now();f=b.getAttribute("width");g=b.getAttribute("height");l=l?l:{};l.width=jc(f);l.height=jc(g); b.getAttribute("title")&&(l.title=b.getAttribute("title"));var n=a.location.href;"about:srcdoc"==n&&(n=a.parent.location.href);var m=K(b),p=J(b,"documentInfo").get();f=J(b,"viewer").getUnconfirmedReferrerUrl();g=b.ownerDocument.body;for(var t=k=0,w=b;w&&w!=g;w=w.offsetParent)k+=w.offsetLeft,t+=w.offsetTop;var G=zb(k,t,b.offsetWidth,b.offsetHeight);g=l;k=A.thirdParty+"/2102130314001/ampcontext-v0.js";t=p.sourceUrl;w=p.canonicalUrl;p=p.pageViewId;n={href:n};var wc=b.tagName,xc={localDev:!1,development:y().development, esm:!1,minified:!0,lite:y().lite,test:!1,log:y().log,version:y().version,rtvVersion:y().rtvVersion},yc=!(!a.AMP_CONFIG||!a.AMP_CONFIG.canary);m=!m.isVisible();G=G?{left:G.left,top:G.top,width:G.width,height:G.height}:null;var x=b;for(var ka=[],L=0;x&&1==x.nodeType&&25>L;){var la="";x.id&&(la="/"+x.id);var La=x.nodeName.toLowerCase(),M=ka,zc=M.push;la=""+La+la;La=x.nodeName;for(var Ma=0,ma=0,na=x.previousElementSibling;na&&25>ma&&100>Ma;)na.nodeName==La&&ma++,Ma++,na=na.previousElementSibling;zc.call(M, la+(25>ma&&100>Ma?"."+ma:""));L++;x=x.parentElement}x=ka.join();ka=x.length;L=5381;for(M=0;M>>0),experimentToggles:Na(a),sentinel:e});(a=b.getAttribute("src"))&&(l.src=a);f=l;f.type=c;Object.assign(f._context,d);return f} function pc(a,b,c,d,e){e=void 0===e?{}:e;var f=void 0===e.disallowCustom?!1:e.disallowCustom,g=void 0===e.allowFullscreen?!1:e.allowFullscreen,k=e.initialIntersection;d=nc(a,b,c,d);k&&(d._context.initialIntersection=k);e=a.document.createElement("iframe");Y[d.type]||(Y[d.type]=0);Y[d.type]+=1;var h=b.getAmpDoc();a=qc(a,h,f);var l=P(a).hostname;h=JSON.stringify(O({host:l,bootstrap:A.thirdParty+"/2102130314001/f.js",type:d.type,count:Y[d.type],attributes:d}));e.src=a;e.ampLocation=P(a);e.name=h;d.width&& (e.width=d.width);d.height&&(e.height=d.height);d.title&&(e.title=d.title);g&&e.setAttribute("allowfullscreen","true");e.setAttribute("scrolling","no");Q(e,"border","none");e.onload=function(){this.readyState="complete"};e.setAttribute("allow","sync-xhr 'none';");["facebook"].includes(c)||rc(e);e.setAttribute("data-amp-3p-sentinel",d._context.sentinel);return e}function sc(a,b,c,d){a=qc(a,b,d);c.preload(b,a,"document");c.preload(b,A.thirdParty+"/2102130314001/f.js","script")} function qc(a,b,c){if(c)var d=null;else if(b=b.getMetaByName("amp-3p-iframe-src")){d=void 0===d?"source":d;E(null!=b,"%s %s must be available",'meta[name="amp-3p-iframe-src"]',d);c=b;"string"==typeof c&&(c=P(c));var e;(e="https:"==c.protocol||"localhost"==c.hostname||"127.0.0.1"==c.hostname)||(c=c.hostname,e=c.length-10,e=0<=e&&c.indexOf(".localhost",e)==e);E(e||/^(\/\/)/.test(b),'%s %s must start with "https://" or "//" or be relative and served from either https or from localhost. Invalid value: %s', 'meta[name="amp-3p-iframe-src"]',d,b);E(-1==b.indexOf("?"),"3p iframe url must not include query string %s in element %s.",b,b);d=P(b);E("localhost"==d.hostname&&!0||d.origin!=P(a.location.href).origin,"3p iframe url must not be on the same origin as the current document %s (%s) in element %s. See https://github.com/ampproject/amphtml/blob/master/spec/amp-iframe-origin-policy.md for details.",b,d.origin,b);d=b+"?2102130314001"}else d=null;d||(a.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=a.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN|| "d-"+oc(a),d="https://"+a.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+("."+A.thirdPartyFrameHost+"/2102130314001/frame.html"));return d}function oc(a){if(a.crypto&&a.crypto.getRandomValues){var b=new Uint32Array(2);a.crypto.getRandomValues(b);var c=String(b[0])+b[1]}else c=String(a.Math.random()).substr(2)+"0";return c} function rc(a){if(a.sandbox&&a.sandbox.supports){for(var b=["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"],c=0;c=a,b),b=a);var c=b;return null!==c?c:AMP.BaseElement.prototype.renderOutsideViewport.call(this)};q.isLayoutSupported=function(a){return ic(a)};q.getResource=function(){return this.element.getResources().getResourceForElement(this.element)}; q.getConsentPolicy=function(){var a=this.element.getAttribute("type");return(a=W[a])&&a.consentHandlingOverride?null:AMP.BaseElement.prototype.getConsentPolicy.call(this)}; q.buildCallback=function(){this.L=this.element.getAttribute("type");var a=Math.round(this.getResource().getUpgradeDelayMs());D().info("amp-ad-3p-impl","upgradeDelay "+this.L+": "+a);this.oa=this.getPlaceholder();this.na=this.getFallback();this.config=W[this.L];E(this.config,'Type "'+this.L+'" is not supported in amp-ad');this.uiHandler=new hb(this);if(this.element.hasAttribute("data-full-width")){E("100vw"==this.element.getAttribute("width"),'Ad units with data-full-width must have width="100vw".'); E(!!this.config.fullWidthHeightRatio,"Ad network does not support full width ads.");D().info("amp-ad-3p-impl","#${this.getResource().getId()} Full width requested");var b=!0}else b=!1;if(this.aa=b)return uc(this)}; q.preconnectCallback=function(a){var b=this,c=H(this.win,"preconnect");sc(this.win,this.getAmpDoc(),c,this.config.remoteHTMLDisabled);"string"==typeof this.config.prefetch?c.preload(this.getAmpDoc(),this.config.prefetch,"script"):this.config.prefetch&&this.config.prefetch.forEach(function(e){c.preload(b.getAmpDoc(),e,"script")});"string"==typeof this.config.preconnect?c.url(this.getAmpDoc(),this.config.preconnect,a):this.config.preconnect&&this.config.preconnect.forEach(function(e){c.url(b.getAmpDoc(), e,a)});var d=this.element.getAttribute("src");d&&c.url(this.getAmpDoc(),d)}; q.onLayoutMeasure=function(){var a=this;this.ha=!cb(this.element,this.win);void 0===this.X&&(this.X=db(this.element));vc(this);if(this.o)this.o.onLayoutMeasure();if(this.aa&&!this.ga){this.ga=!0;var b=this.getLayoutBox();this.getVsync().run({measure:function(c){c.direction=(a.win.getComputedStyle(a.element)||Ha()).direction},mutate:function(c){"rtl"==c.direction?Q(a.element,"marginRight",b.left,"px"):Q(a.element,"marginLeft",-b.left,"px")}},{direction:""})}}; function vc(a){if(a.o&&a.o.iframe){var b=a.getViewport().getLayoutRect(a.o.iframe),c=a.getLayoutBox();a.Y=Ab(b,-c.left,-c.top)}}q.getIntersectionElementLayoutBox=function(){if(!this.o||!this.o.iframe)return AMP.BaseElement.prototype.getIntersectionElementLayoutBox.call(this);var a=this.getLayoutBox();this.Y||vc(this);return Ab(this.Y,a.left,a.top)}; q.layoutCallback=function(){var a=this;if(this.I)return this.I;E(!this.ha||this.uiHandler.isStickyAd()," is not allowed to be placed in elements with position:fixed: %s unless it has sticky attribute",this.element);var b=this.getConsentState(),c=AMP.BaseElement.prototype.getConsentPolicy.call(this),d=c?Tb(this.element,c):Promise.resolve(null),e=c?Ub(this.element,c):Promise.resolve(null),f=c?Sb(this.element,c):Promise.resolve(null),g=this.uiHandler.getScrollPromiseForStickyAd();this.I=Promise.all([Vb(this), b,f,d,e,g]).then(function(k){a.uiHandler.maybeInitStickyAd();var h=O({clientId:k[0]||null,container:a.X,initialConsentState:k[1],consentSharedData:k[2],initialConsentValue:k[3],initialConsentMetadata:k[4]});return("31060066"===Pa(a.win,"ads-initialIntersection")?Db(a.element):Promise.resolve(a.element.getIntersectionChangeEntry())).then(function(l){var n=pc(a.element.ownerDocument.defaultView,a.element,a.L,h,{disallowCustom:a.config.remoteHTMLDisabled,initialIntersection:Eb(l)});n.title=a.element.title|| "Advertisement";a.o=new X(a);return a.o.init(n)})}).then(function(){wb(a.element,function(k){a.o&&a.o.viewportCallback(k)})});mc(this.win,this.I);return this.I};q.unlayoutOnPause=function(){return!0};q.unlayoutCallback=function(){this.l.forEach(function(a){return a()});this.l.length=0;yb(this.element);this.I=null;this.uiHandler.applyUnlayoutUI();this.o&&(this.o.freeXOriginIframe(),this.o=null);this.uiHandler&&this.uiHandler.cleanup();return!0}; q.getConsentState=function(){var a=AMP.BaseElement.prototype.getConsentPolicy.call(this);return a?Rb(this.element,a):Promise.resolve(null)};function uc(a){var b=a.getViewport().getSize(),c=b.width,d=Ac(a,c,Math.min(500,b.height));return a.attemptChangeSize(d,c).then(function(){D().info("amp-ad-3p-impl","Size change accepted: "+c+"x"+d)},function(){D().info("amp-ad-3p-impl","Size change rejected: "+c+"x"+d)})} function Ac(a,b,c){if("mcrspv"===a.element.getAttribute("data-auto-format")){a=a.element;c={numberOfRows:a.getAttribute("data-matched-content-rows-num"),numberOfColumns:a.getAttribute("data-matched-content-columns-num"),layoutType:a.getAttribute("data-matched-content-ui-type")};if(c.numberOfRows||c.numberOfColumns||c.layoutType){var d=sa(c);if(d.validationError)b={slotWidth:0,slotHeight:0,numberOfColumns:0,numberOfRows:0,layoutType:"image_stacked",validationError:d.validationError};else{var e=2=== d.layoutTypes.length&&468<=b?1:0;c=d.layoutTypes[e];c=0===c.indexOf("pub_control_")?c:"pub_control_"+c;var f=ra[c];for(var g=d.numberOfColumns[e];b/gb?468>=b?(c=b-8-8,c=Math.floor(c/1.91+70)+Math.floor(11*(c*pa.mobile_banner_image_sidebyside+qa.mobile_banner_image_sidebyside)+96),b={slotWidth:b,slotHeight:c,numberOfColumns:1,numberOfRows:12,layoutType:"mobile_banner_image_sidebyside"}):(b=ta(b),b={slotWidth:b.width,slotHeight:b.height,numberOfColumns:1,numberOfRows:13,layoutType:"image_sidebyside"}):(b=ta(b),b={slotWidth:b.width,slotHeight:b.height, numberOfColumns:4,numberOfRows:2,layoutType:"image_stacked"});b.validationError?(C().error("AMP-AD",b.validationError),a=0):(a.setAttribute("data-matched-content-rows-num",b.numberOfRows),a.setAttribute("data-matched-content-columns-num",b.numberOfColumns),a.setAttribute("data-matched-content-ui-type",b.layoutType),a=b.slotHeight)}else a=Math.min(Math.max(Math.round(b/a.config.fullWidthHeightRatio),100),c);return a};var Bc={},Cc=null;function Dc(a){a=AMP.BaseElement.call(this,a)||this;a.N=null;a.A=null;a.uiHandler=null;return a}ia(Dc,AMP.BaseElement);q=Dc.prototype;q.getLayoutPriority=function(){return 0};q.isLayoutSupported=function(a){return ic(a)}; q.buildCallback=function(){this.N=this.element.getAttribute("data-url");this.A=this.element.getAttribute("data-slot");E(null===this.A||this.A.match(/^[0-9a-z]+$/),"custom ad slot should be alphanumeric: "+this.A);var a=K(this.element);a=N(a);a=Ca(a,"url")?I(a,"url"):null;E(this.N&&a.isSecure(this.N),"custom ad url must be an HTTPS URL");this.uiHandler=new hb(this)}; q.layoutCallback=function(){var a=this,b=Ec(this),c=Bc[b]||H(this.win,"xhr").fetchJson(b).then(function(d){return d.json()});null!==this.A&&(Bc[b]=c);return c.then(function(d){var e=d;null!==a.A&&(e=Ga.call(d,a.A)?d[a.A]:null);if(e&&"object"==typeof e){e=Fc(a,e);a.renderStarted();try{H(a.win,"templates").findAndRenderTemplate(a.element,e).then(function(f){for(var g=a.element;g.firstChild;)g.removeChild(g.firstChild);a.element.appendChild(f);a.signals().signal("ini-load")})}catch(f){a.uiHandler.applyNoContentUI()}}else a.uiHandler.applyNoContentUI()})}; function Fc(a,b){var c=a.element;/^[\w-]+$/.test("template");if(void 0!==Ra)var d=Ra;else{try{var e=c.ownerDocument,f=e.createElement("div"),g=e.createElement("div");f.appendChild(g);d=f.querySelector(":scope div")===g}catch(h){d=!1}d=Ra=d}d?c=c.querySelector("> template".replace(/^|,/g,"$&:scope ")):(c.classList.add("i-amphtml-scoped"),d="> template".replace(/^|,/g,"$&.i-amphtml-scoped "),d=c.querySelectorAll(d),c.classList.remove("i-amphtml-scoped"),c=void 0===d[0]?null:d[0]);if(c)return b;E(b.templateId, "TemplateId not specified");E(b.data&&"object"==typeof b.data,"Template data not specified");a.element.setAttribute("template",b.templateId);if(b.vars&&"object"==typeof b.vars)for(c=b.vars,d=Object.keys(c),e=0;eiframe,amp-ad[data-a4a-upgrade-type=amp-ad-network-doubleclick-impl]>iframe{min-height:0;min-width:0}amp-ad[data-a4a-upgrade-type=amp-ad-network-doubleclick-impl][height=fluid]>iframe{height:100%!important;width:100%!important;position:relative}amp-ad[data-a4a-upgrade-type=amp-ad-network-doubleclick-impl][height=fluid]{width:100%!important}amp-ad .amp-ad-close-button{position:absolute;visibility:visible;width:28px;height:28px;top:-28px;right:0;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='13' height='13' viewBox='341 8 13 13' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%234F4F4F' d='M354 9.31L352.69 8l-5.19 5.19L342.31 8 341 9.31l5.19 5.19-5.19 5.19 1.31 1.31 5.19-5.19 5.19 5.19 1.31-1.31-5.19-5.19z' fill-rule='evenodd'/%3E%3C/svg%3E\");background-size:13px 13px;background-position:9px;background-color:#fff;background-repeat:no-repeat;box-shadow:0 -1px 1px 0 rgba(0,0,0,0.2);border:none;border-radius:12px 0 0 0}amp-ad .amp-ad-close-button:before{position:absolute;content:\"\";top:-20px;right:0;left:-20px;bottom:0}[dir=rtl] amp-ad .amp-ad-close-button{right:auto;left:0;border-top-left-radius:0;border-top-right-radius:12px;background-position:6px}[dir=rtl] amp-ad .amp-ad-close-button:before{right:-20px;left:0}amp-ad-sticky-padding{display:block;width:100%!important;background:#fff;height:4px;max-height:5px!important;overflow-x:hidden;overflow-y:hidden;z-index:12}amp-ad[sticky]{z-index:11;position:fixed;overflow:visible!important;padding-bottom:env(safe-area-inset-bottom,0px);box-shadow:0 0 5px 0 rgba(0,0,0,0.2)!important;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}amp-ad[sticky=top]{width:100%!important;background:#fff;top:0}amp-ad[sticky=bottom]{width:100%!important;background:#fff;bottom:0}amp-ad[sticky=bottom-right]{bottom:0;right:0}\n/*# sourceURL=/extensions/amp-ad/0.1/amp-ad.css*/"); a.registerElement("amp-embed",Z)})(self.AMP); })}); //# sourceMappingURL=amp-ad-0.1.js.map